﻿@{
    ViewBag.Title = "Home Page";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<style type="text/css">

    .Home_main { background: url('../Views/Home/images/preview.jpg') no-repeat; background-size: 100%; height: calc(100% - 60px);text-align: center; display: flex;
        align-items: center;
        justify-content: center; }

</style>

<div class="Home_main">
    <h1>张先生的网站</h1>
</div>